FROM java:8
MAINTAINER liheng@lingser.com
VOLUME /tmp/app
ADD ./manage-2.3.0.RELEASE.jar manage.jar
#设置时区
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && echo 'Asia/Shanghai' >/etc/timezone
ENTRYPOINT ["java","-jar","manage.jar","--server.port=8082"]